package com.woniu.model.mallSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 商品图片表
 * </p>
 *
 * @author Lzj
 * @since 2023-10-19
 */
@Getter
@Setter
  @TableName("t_log_url")
@ApiModel(value = "LogUrl对象", description = "商品图片表")
public class LogUrl implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("图片地址表id")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("商品id")
      private Long tCommodityId;

      @ApiModelProperty("主图标志")
      private Integer mainFlag;

      @ApiModelProperty("地址")
      private String srcImg;


}
